//
//  carcareIOSUITests.m
//  carcareIOSUITests
//
//  Created by ileo on 16/9/12.
//  Copyright © 2016年 chezheng. All rights reserved.
//

#import <XCTest/XCTest.h>


XCUIApplication *app = [[XCUIApplication alloc] init];
[[[[[[[[[[[app.windows containingType:XCUIElementTypeButton identifier:@"\U6d4b\U8bd5"] childrenMatchingType:XCUIElementTypeOther] elementBoundByIndex:0] childrenMatchingType:XCUIElementTypeOther].element childrenMatchingType:XCUIElementTypeOther].element childrenMatchingType:XCUIElementTypeOther].element childrenMatchingType:XCUIElementTypeOther].element childrenMatchingType:XCUIElementTypeOther].element childrenMatchingType:XCUIElementTypeOther].element childrenMatchingType:XCUIElementTypeTable].element tap];
[app.tabBars.buttons[@"\U6211\U7684"] tap];
[app.navigationBars[@"\U6211\U7684"].buttons[@"Nav Right Setting"] tap];
[app.tables.staticTexts[@"\U9000\U51fa\U5f53\U524d\U8d26\U53f7"] tap];
[app.sheets[@"\U662f\U5426\U9000\U51fa\U767b\U5f55"].collectionViews.buttons[@"\U786e\U8ba4"] tap];
[app.otherElements[@"AssistiveTouch \U83dc\U5355"] tap];

@interface carcareIOSUITests : XCTestCase

@end

@implementation carcareIOSUITests

- (void)setUp {
    [super setUp];
    
    // Put setup code here. This method is called before the invocation of each test method in the class.
    
    // In UI tests it is usually best to stop immediately when a failure occurs.
    self.continueAfterFailure = NO;
    // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method.
    [[[XCUIApplication alloc] init] launch];
    
    // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.
}

- (void)tearDown {
    // Put teardown code here. This method is called after the invocation of each test method in the class.
    [super tearDown];
}

- (void)testExample {
    // Use recording to get started writing UI tests.
    // Use XCTAssert and related functions to verify your tests produce the correct results.
}

@end
